package com.cssy.xxkj.logic.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.logic.entity.LogicPayReturnDO;
import com.plat.helper.SearchConditions;

/**
 * 数据访问对象接口
 * @since 2014-10-11
 */
public interface LogicPayReturnDAO  extends LogicBizDAO<LogicPayReturnDO>{

    /**
     * 插入数据
     * @param logicPayReturnDO
     * @return 插入数据的主键
     */
    public String insertLogicPayReturnDO(LogicPayReturnDO logicPayReturnDO);

    /**
     * 统计记录数
     * @param logicPayReturnDO
     * @return 查出的记录数
     */
    public Integer countLogicPayReturnDOByExample(LogicPayReturnDO logicPayReturnDO);

    /**
     * 更新记录
     * @param logicPayReturnDO
     * @return 受影响的行数
     */
    public Integer updateLogicPayReturnDO(LogicPayReturnDO logicPayReturnDO);

    /**
     * 获取对象列表
     * @param logicPayReturnDO
     * @return 对象列表
     */
    public List<LogicPayReturnDO> findListByExample(LogicPayReturnDO logicPayReturnDO);

    /**
     * 根据主键获取logicPayReturnDO
     * @param id
     * @return logicPayReturnDO
     */
    public LogicPayReturnDO findLogicPayReturnDOByPrimaryKey(String id);

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicPayReturnDOByPrimaryKey(String id);
    
    public List<LogicPayReturnDO> find(SearchConditions scs) throws DataAccessException;
    
    public Integer count(SearchConditions scs) throws DataAccessException;

}